package com.zwj.mapper;

import com.zwj.bo.BatchBo;
import com.zwj.bo.CourseInfoBo;
import com.zwj.entity.BatchCourseEntity;
import com.zwj.entity.BatchEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zwj
 * @since 2021-11-04
 */
@Mapper
public interface BatchMapper extends BaseMapper<BatchEntity> {
    String selectNameById(String userID);

    int addBatch(BatchBo batchBo);
    List<Object> selectBatch(BatchBo batchBo);

    int insertinfo(BatchCourseEntity infoEntity);

    BatchCourseEntity selectBatchCourseBy(BatchCourseEntity infoEntity);
}
